# ../addons/manilib/core/clients/__init__.py

'''
$Rev: 6 $
$Author: pitkley $
$Date: 2009-11-01 11:19:13 +0000 (Sun, 01 Nov 2009) $
'''

# ==============================================================================
# >> IMPORTS
# ==============================================================================
# EventScripts Imports
#import es

# ==============================================================================
# >> GLOBALS
# ==============================================================================
list_adminFlags = {"a":"Private Admin Chat", "A":"Accept Vote",
    "admin":"Basic Admin", "b":"non-permanent ban", "B":"RCON voting menu",
    "c":"Map Change", "C":"Cancel vote", "client":"Create Client and Set Flags",
    "d":"Drug", "D":"Menu Question Vote", "e":"Explode",
    "E":"View client rates", "f":"Freeze", "F":"Burn", "g":"Swap Player",
    "G":"No Clip Mode", "grav":"Adjust Player Gravity", "H":"War Mode",
    "i":"Blind", "I":"Mute", "j":"Gimp", "J":"Reset Stats", "k":"Kick",
    "K":"Cash", "l":"Slap", "L":"RCON Say", "m":"Slay", "M":"Admin Skins",
    "N":"Set skins", "o":"Admin Chat", "O":"Drop C4", "p":"Sound",
    "P":"Set Client Flags", "pban":"Permanent Ban", "q":"RCON menu level 1",
    "Q":"Console Question Vote", "q2":"RCON menu level 2",
    "q3":"RCON menu level 3", "r":"RCON", "R":"RCON Voting",
    "reserved":"Reserved Slot", "s":"Admin Say", "S":"Set skin color",
    "spray":"Spraytag tracking", "t":"Teleport", "T":"Time Bomb",
    "U":"Fire Bomb", "v":"Random map vote", "V":"Map vote",
    "w":"Weapon restrictions", "W":"Freeze Bomb", "x":"Client Execution",
    "X":"Adjust Health", "y":"Client execution menu", "Y":"Beacon player",
    "z":"Config", "Z":"Give Item"}

list_immunityFlags = {"a":"Name tag kick", "afk":"AFK kick",
    "autojoin":"Autojoin", "b":"Ban", "c":"Balance team", "d":"Drug",
    "e":"Burn", "f":"Freeze", "g":"Swap", "grav":"Per player gravity",
    "h":"Mute", "i":"Blind", "immunity":"Basic", "j":"Gimp", "k":"Kick",
    "l":"Slap", "m":"Slay", "n":"Reserved slot kick", "o":"Set skin",
    "p":"Reserved Skin", "ping":"Ping kick", "q":"Timebomb", "r":"Firebomb",
    "s":"Freezebomb", "t":"Teleport", "u":"Beacon", "v":"Ghost",
    "w":"Give item", "x":"Client execution", "y":"Color change"}
commands = {'ban':{'args':1, 'req':1}, 'kick':{'args':0, 'req':0},
    'beacon':{'args':1, 'req':0}, 'blind':{'args':1, 'req':0},
    'burn':{'args':1, 'req':0}, 'cexec':{'args':1, 'req':1},
    'color':{'args':4, 'req':4}, 'colour':{'args':4, 'req':4},
    'color_weapon':{'args':4, 'req':4}, 'colour_weapon':{'args':4, 'req':4},
    'drug':{'args':1, 'req':0}, 'firebomb':{'args':1, 'req':0},
    'freeze':{'args':1, 'req':0}, 'freezebomb':{'args':1, 'req':0},
    'gimp':{'args':1, 'req':0}, 'give':{'args':1, 'req':1},
    'give_ammo':{'args':4, 'req':3}, 'givecash':{'args':1, 'req':1},
    'givecashp':{'args':1, 'req':1}, 'givehealth':{'args':1, 'req':1},
    'givehealthp':{'args':1, 'req':1}, 'gravity':{'args':1, 'req':1},
    'mute':{'args':1, 'req':0}, 'msay':{'args':2, 'req':2},
    'noclip':{'args':1, 'req':0}, 'psay':{'args':1, 'req':1},
    'render_fx':{'args':1, 'req':1}, 'render_mode':{'args':1, 'req':1},
    'resetrank':{'args':0, 'req':0}, 'setcash':{'args':1, 'req':1},
    'setskin':{'args':1, 'req':1}, 'slap':{'args':1, 'req':0},
    'slay':{'args':0, 'req':0}, 'spec':{'args':0, 'req':0},
    'swapteam':{'args':0, 'req':0}, 'swapteam_d':{'args':0, 'req':0},
    'takecash':{'args':1, 'req':1}, 'takecashp':{'args':1, 'req':1},
    'takehealth':{'args':1, 'req':1}, 'takehealthp':{'args':1, 'req':1},
    'teleport':{'args':3, 'req':0}, 'timebomb':{'args':1, 'req':0}}
# ==============================================================================
# >> CLASSES
# ==============================================================================